<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>基础知识</title>
	<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css"" rel="stylesheet">
	<link href="https://cdn.bootcdn.net/ajax/libs/animate.css/3.2.3/animate.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="../../static/css/public.css" />
</head>
<body>
	<!--右边内容-->
	<div id="app" class="main animated fadeInRight">
		<div class="shadow">
			<div>
				<h4>移动端常用的事件</h4>
				<div class="Table">
					<div class="TableRow" v-for="(el,index) in list">
						<a class="RowLeft" :href="'#'+el.event">{{el.event}}</a>
						<span class="RowRight">{{el.explain}}</span>
					</div>
				</div>	
			</div>
		</div>
	</div>
	<!--页面加载进度条-->
	<script src="https://cdn.bootcdn.net/ajax/libs/pace/0.5.0/pace.min.js"></script>
	<script src="https://cdn.bootcdn.net/ajax/libs/vue/2.5.17/vue.js" type="text/javascript" charset="utf-8"></script>
	
	<script type="text/javascript">
		var app = new Vue({
			el: "#app",
			data: function () {
				return {
					list:[
						{event:"touchstart",explain:"当手指接触屏幕时触发"},
						{event:"touchmove",explain:"当已经接触屏幕的手指开始移动后触发"},
						{event:"touchend",explain:"当手指离开屏幕时触发"},
						{event:"touchcancel",explain:"手指接触动作取消"},
						{event:"gesturestart",explain:"当两个手指接触屏幕时触发"},
						{event:"gesturechange",explain:"当两个手指接触屏幕后开始移动时触发"},
						{event:"gestureend",explain:"当两个手指离开屏幕时触发"},
						{event:"onorientationchange",explain:"屏幕旋转事件"},
					]
				}
			},
		})
	</script>
</body>

</html>